Proxy Errror

Proxy Errror

am 04.01.2010 13:58:24 von vijay shanker

--001636d348c3057466047c56486e
Content-Type: text/plain; charset=ISO-8859-1

Hi fiends;

i have configured my apache instance to delegate requests to a application
running on tomcat container.

lets say my URL for tomcat container is

http://localhost:8014/accounts

I want to access this URL from

http://localhost

Now the configuration in vertual host, i have made to access this is
========
ProxyPreserveHost On
ProxyPass / http://localhsot:8014/accounts/
ProxyPassReverse / http://localhost:8014/accounts/
=========

When i am trying to access http://localhost it gives me following text on
the page

=====================
Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET/.

Reason: DNS lookup failure for: localhsot
------------------------------------------------------------ ----------------------------------------------
Apache/2.2.12 (Ubuntu) Server at localhost Port 80
=====================

Can some body please describe the situation for me.

Regards,
Vijay Shanker Dubey

--001636d348c3057466047c56486e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi fiends;

i have configured my apache instan=
ce to delegate requests to a application running on tomcat container.=A0 iv>

lets say my URL for tomcat container is=A0
>


http://localhost:=
8014/accounts

I want to access this URL from div>

div>


Now the configuration in vertual host, i have made to a=
ccess this is=A0
========
   P=
roxyPreserveHost On


   ProxyPassReverse / =
http://localhost:8014/accounts/
=========3D div>

When i am trying to access localhost">http://localhost it gives me following text on the page >


===================
===3D
Proxy Error

The proxy server r=
eceived an invalid
response from an upstream server.

The proxy server=
could not handle the request GET/.

Reason: DNS lo=
okup failure for: localhsot
-------------------------------------=
------------------------------------------------------------ ---------


Apache/2.2.12 (Ubuntu) Server at localhost Port 80
=====
=================3D

Can =
some body please describe the situation for me.

>Regards,
Vijay Shanker Dubey




--001636d348c3057466047c56486e--

Re: Proxy Errror

am 04.01.2010 14:45:59 von Eric Covener

On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker wrote:
>    ProxyPass / http://localhsot:8014/accounts/
> Reason: DNS lookup failure for: localhsot

typo

--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Proxy Errror

am 04.01.2010 14:52:55 von vijay shanker

--001636c93192fbb3e8047c570a38
Content-Type: text/plain; charset=ISO-8859-1

Oh Eric,

thanks for pointing

now i have changed the settings to

---
ProxyPass /accounts http://localhsot:8014/
---

and you know what; i got the desired page!

:)

thanks.

Regards,
Vijay Shanker Dubey



On Mon, Jan 4, 2010 at 7:15 PM, Eric Covener wrote:

> On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker
> wrote:
> > ProxyPass / http://localhsot:8014/accounts/
> > Reason: DNS lookup failure for: localhsot
>
> typo
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--001636c93192fbb3e8047c570a38
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Oh Eric,

thanks for pointing=A0
>
now i have changed the settings to=A0

=
---
ProxyPass /accounts http:/=
/localhsot:8014/


---

and you know what; i got the desired page! =A0=

:)

thanks.

=3D"all">Regards,
Vijay Shanker Dubey




On Mon, Jan 4, 2010 at 7:15 PM, Eric Cov=
ener <covener@gma=
il.com
>
wrote:
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker < =3D"mailto:vijay.shad@gmail.com">vijay.shad@gmail.com> wrote:

>    ProxyPass / =3D"_blank">http://localhsot:8014/accounts/

> Reason: DNS lookup failure for: localhsot



typo



--

Eric Covener





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--001636c93192fbb3e8047c570a38--

Re: Proxy Errror

am 04.01.2010 14:54:21 von Eric Covener

On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker wrote:
> Oh Eric,
> thanks for pointing
> now i have changed the settings to
> ---
> ProxyPass /accounts http://localhsot:8014/
> ---
> and you know what; i got the desired page!


(That still has the typo)

--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Proxy Errror

am 04.01.2010 14:56:07 von vijay shanker

--001636c932896dd8da047c571675
Content-Type: text/plain; charset=ISO-8859-1

oh yes;

but not in the configuration file. !

:)

thanks.

Regards,
Vijay Shanker Dubey



On Mon, Jan 4, 2010 at 7:24 PM, Eric Covener wrote:

> On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker
> wrote:
> > Oh Eric,
> > thanks for pointing
> > now i have changed the settings to
> > ---
> > ProxyPass /accounts http://localhsot:8014/
> > ---
> > and you know what; i got the desired page!
>
>
> (That still has the typo)
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--001636c932896dd8da047c571675
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

oh yes;


but not in the configuration file. !
<=
br>
:)

thanks.

l">Regards,
Vijay Shanker Dubey




On Mon, Jan 4, 2010 at 7:24 PM, Eric Cov=
ener <covener@gma=
il.com
>
wrote:
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker < =3D"mailto:vijay.shad@gmail.com">vijay.shad@gmail.com> wrote:

> Oh Eric,

> thanks for pointing

> now i have changed the settings to

> ---

> ProxyPass /accounts k">http://localhsot:8014/

> ---

> and you know what; i got the desired page!





(That still has the typo)



--

Eric Covener





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--001636c932896dd8da047c571675--

Re: Proxy Errror

am 04.01.2010 15:10:14 von vijay shanker

--001636b14cbeeb10a7047c574803
Content-Type: text/plain; charset=ISO-8859-1

Hi

i have got this thing working :)

----
ProxyPreserveHost On
ProxyPass / http://localhost:8014/accounts/
ProxyPassReverse / http://localhost/
------
Eric, it was realy a typo. And i was not getting correct page.
But now thing is solved. got the correct page.

:)


Regards,
Vijay Shanker Dubey



On Mon, Jan 4, 2010 at 7:26 PM, vijay shanker wrote:

> oh yes;
>
> but not in the configuration file. !
>
> :)
>
> thanks.
>
> Regards,
> Vijay Shanker Dubey
>
>
>
>
> On Mon, Jan 4, 2010 at 7:24 PM, Eric Covener wrote:
>
>> On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker
>> wrote:
>> > Oh Eric,
>> > thanks for pointing
>> > now i have changed the settings to
>> > ---
>> > ProxyPass /accounts http://localhsot:8014/
>> > ---
>> > and you know what; i got the desired page!
>>
>>
>> (That still has the typo)
>>
>> --
>> Eric Covener
>> covener@gmail.com
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>

--001636b14cbeeb10a7047c574803
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi


i have got this thing working :)

=
----
ProxyPreserveHost On
ProxyPass / =3D"http://localhost:8014/accounts/">http://localhost:8014/a ccounts/ iv>

ProxyPassReverse / =
------
Eric, it was realy a typo. And i was not=
=A0getting=A0correct page.
But now thing is solved. got the corre=
ct page.



:)


Regards,<=
br>Vijay Shanker Dubey




On Mon, Jan 4, 2010 at 7:26 PM, vijay sh=
anker <vijay.s=
had@gmail.com
>
wrote:
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

oh yes;

but not in the configuration file. !
<=
br>
:)

thanks.

l">Regards,
Vijay Shanker Dubey







On Mon, Jan 4, 2010 at 7:24 PM, Eric Cov=
ener < blank">covener@gmail.com> wrote:
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">


On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker < jay.shad@gmail.com" target=3D"_blank">vijay.shad@gmail.com> wrote: r>
> Oh Eric,

> thanks for pointing

> now i have changed the settings to

> ---

> ProxyPass /accounts k">http://localhsot:8014/

> ---

> and you know what; i got the desired page!





(That still has the typo)






--001636b14cbeeb10a7047c574803--